package com.qk.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 商机跟进记录表
 * @TableName business_track_record
 */
@TableName(value ="business_track_record")
@Data
public class BusinessTrackRecord implements Serializable {
    /**
     * 跟进记录id, 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 商机id，关联商机id
     */
    private Integer businessId;

    /**
     * 跟进人id，关联用户id
     */
    private Integer userId;

    /**
     * 跟进状态, 1:接通, 2:拒绝, 3:无人接听
     */
    private Integer trackStatus;

    /**
     * 沟通重点
     */
    private String keyItems;

    /**
     * 下次跟进时间
     */
    private LocalDateTime nextTime;

    /**
     * 沟通纪要
     */
    private String record;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}